#ifndef DOXYBLOCKSLOGGER_H_INCLUDED
#define DOXYBLOCKSLOGGER_H_INCLUDED

#include <loggers.h>

// forward decls
class wxBoxSizer;
class wxPanel;
class wxWindow;

const long ID_LOG_DOXYBLOCKS = wxNewId();

class DoxyBlocksLogger : public TextCtrlLogger {
    wxPanel    *panel; //!< The log's panel.
    wxBoxSizer *sizer; //!< The panel's sizer.
  public:

    DoxyBlocksLogger() : TextCtrlLogger( false ), panel( 0 ), sizer( 0 ) {}

    void UpdateSettings();
    virtual wxWindow* CreateControl( wxWindow* parent );
    void OpenLink( long urlStart, long urlEnd, bool bUseInternalViewer );
};

#endif // DOXYBLOCKSLOGGER_H_INCLUDED
